<div id="list-knowlege" class="content scaffold-list" role="main">
			<g:if test="${flash.message}">
	<div class="message" role="status">${flash.message}</div>
</g:if>
<table>
	<thead>
		<tr>
			<th><g:message code="knowlege.knowlegeType.label" default="Knowlege Type" /></th>
			<th><g:message code="knowlege.createUser.label" default="createUser" /></th>
			<th><g:message code="knowlege.lastUpdated.label" default="lastUpdated" /></th>
			<th><g:message code="knowlege.operate.label" default="operate" /></th>
		</tr>
	</thead>
	<tbody>
	<g:each in="${knowlegeInstanceList}" status="i" var="knowlegeInstance">
		<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
		
			<td><g:link class="edit" controller="knowlege" action="show" id="${knowlegeInstance?.id}">${fieldValue(bean: knowlegeInstance, field: "knowlegeType")}</g:link></td>
		
			<td>${fieldValue(bean: knowlegeInstance, field: "createUser")}</td>
			<td><g:formatDate date="${knowlegeInstance.lastUpdated}" format="yyyy-MM-dd" /></td>
			<td><g:link class="edit" controller="knowlege" action="edit" id="${knowlegeInstance?.id}" elementId="eidt-knowlege"><g:message code="default.button.edit.label" default="Edit" /></g:link>
				<g:link class="edit" action="delete" id="${knowlegeInstance?.id}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');">
				<g:message code="default.button.delete.label" default="Delete" /></g:link>
				
			</td>
		</tr>
	</g:each>
	</tbody>
</table>
